<section class="panel panel-default" ng-app="app.carga.textos" ng-controller="nuevaCtrl">
        <div class="panel-heading"><strong><span class="glyphicon glyphicon-th"></span> Carga de textos</strong></div>
        <div>
            <div class="panel-body" >
                <label>Tipo de Medio:</label>
                    <span class="ui-select">
                        <select ng-model="fuente" ng-options="fuente.tipoFuente for fuente in tipoFuente">
                            <option></option>
                        </select>
                    </span>
            </div>
            <div class="panel-body">
                <label>Medio:</label>
                    <span class="ui-select">
                        <select ng-model="medio" ng-options="fuente.descripcion for fuente in tipoFuente | filter:tipoMedio:strict">
                            <option></option>
                        </select>
                    </span>
            </div>
        </div>
        <div class="panel-body">
            <form class="form-horizontal">
                <div class="form-group">
                    <label for="" class="col-sm-2"><i class="ti-book"></i> Texto aqui</label>
                    <div class="col-sm-10" >
                        <textarea name="" id="" class="form-control" rows="4" ng-model="texto"></textarea>
                    </div>
                <div class="panel-body text-center">
                    <p>
                        <button type="button" class="btn btn-default" ng-click=guardar(texto,medio.id,0)><i class="ti-save" ></i> Guardar</button>
                        <button type="button" class="btn btn-default" ng-click=guardar(texto,medio.id,1)><i class="ti-plus"></i> Guardar y Agregar otro</button>
                        <button type="button" class="btn btn-default"><i class="ti-close"></i> Cancelar</button>
                    </p>
                </div>
            </form>
        </div>
    </section>
    <!-- end Input -->